/**
 * copyright(c) 2013 www.jiongshibaoliao.com, All Rights Reserved.
 * project: jiongshibaoliao 
 * author: 曾帅
 * date: 2014-1-8 下午04:49:50
 * version: v1.0
 */

package com.jiongshibaoliao.model;

import java.util.Date;

import com.jiongshibaoliao.model.enums.DeleteType;

/**
 * @project jiongshibaoliao
 * @author 曾帅
 * @version 1.0
 * @date 2014-1-8 下午04:49:50
 */

public class Comment extends BaseModel {

	private String content;

	private long floor;

	private Date createDate;

	private DeleteType deleteType;

	private long articleId;

	private long userId;

	public Comment() {
	}

	public Comment(String content, long floor, Date createDate,
			DeleteType deleteType, long articleId, long userId) {
		this.content = content;
		this.floor = floor;
		this.createDate = createDate;
		this.deleteType = deleteType;
		this.articleId = articleId;
		this.userId = userId;
	}

	@Override
	public String toString() {
		return "Comment [articleId=" + articleId + ", content=" + content
				+ ", createDate=" + createDate + ", deleteType=" + deleteType
				+ ", floor=" + floor + ", userId=" + userId + "]";
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public long getFloor() {
		return floor;
	}

	public void setFloor(long floor) {
		this.floor = floor;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public DeleteType getDeleteType() {
		return deleteType;
	}

	public void setDeleteType(DeleteType deleteType) {
		this.deleteType = deleteType;
	}

	public long getArticleId() {
		return articleId;
	}

	public void setArticleId(long articleId) {
		this.articleId = articleId;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}
}
